<?php
include '../../CONTROL/UsuarioController.php';
?>

<div class="container">

<table  class="table">
        <thead>
            <tr>
                <th>Nome</th>
                <th>Sobrenome</th>
                <th>Nascimento</th>
                <th>Email</th>
                <th>Telefones</th>
                <th>Alterar</th>
                <th>Excluir</th>
            </tr>
        </thead>
 
 
        <tbody>
            <?php $usuarioInstance = new UsuarioController();
            while($row = mysql_fetch_array($usuarioInstance->listar(array()))){
                echo '<tr>';
                echo '<td>'.$row['nome'].'</td>
                <td>'.$row['sobrenome'].'</td>
                <td>'.$row['nascimento'].'</td>
                <td>'.$row['email'].'</td>
                <td>'.$row['nome'].'</td>
                <td ><a href="#"><span class="glyphicon glyphicon-pencil"></span></a></td>
                <td ><a href="#"><span class="glyphicon glyphicon-remove-circle"></span></a></td>
            </tr>';
            }?>
        </tbody>
    </table>
</div>


